Resource URL: /platform/<<version=1>>/job/policies/<NAME>

    Overview: This resource applies the standard collection pattern to
              individual job impact policies.  NAME in the resource path is the
              job impact policy name.

     Methods: GET, PUT, DELETE

********************************************************************************

Method GET: View a single job impact policy.

       URL: GET /platform/<<version=1>>/job/policies/<NAME>

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "policies": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "properties": {
              "system": {
                "required": false, 
                "type": "boolean", 
                "description": "Whether or not this is a read-only system impact policy."
              }, 
              "intervals": {
                "items": {
                  "type": "object", 
                  "properties": {
                    "impact": {
                      "enum": [
                        "Low", 
                        "Medium", 
                        "High", 
                        "Paused"
                      ], 
                      "type": "string", 
                      "description": "Impact for the corresponding time span.", 
                      "required": true
                    }, 
                    "begin": {
                      "required": true, 
                      "type": "string", 
                      "description": "Beginning time for the corresponding impact, in the format 'WWWW HH:MM', where 'WWWW' is the full English name of the day of the week, 'HH' is the hour (00-23), and 'MM' is the minute (00-59)."
                    }, 
                    "end": {
                      "required": true, 
                      "type": "string", 
                      "description": "Ending time for the corresponding impact, in the format 'WWWW HH:MM', where 'WWWW' is the full English name of the day of the week, 'HH' is the hour (00-23), and 'MM' is the minute (00-59)."
                    }
                  }
                }, 
                "required": true, 
                "type": "array"
              }, 
              "description": {
                "required": true, 
                "type": "string", 
                "description": "A helpful human-readable description of the impact policy."
              }, 
              "name": {
                "minLength": 1, 
                "required": true, 
                "type": "string", 
                "description": "The name of the impact policy."
              }, 
              "id": {
                "required": true, 
                "type": "string", 
                "description": "The ID of the impact policy."
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }
      }
    }
  ]
}

********************************************************************************

Method PUT: Modify a job impact policy.

       URL: PUT /platform/<<version=1>>/job/policies/<NAME>

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "properties": {
    "intervals": {
      "items": {
        "type": "object", 
        "properties": {
          "impact": {
            "enum": [
              "Low", 
              "Medium", 
              "High", 
              "Paused"
            ], 
            "type": "string", 
            "description": "Impact for the corresponding time span.", 
            "required": true
          }, 
          "begin": {
            "required": true, 
            "type": "string", 
            "description": "Beginning time for the corresponding impact, in the format 'WWWW HH:MM', where 'WWWW' is the full English name of the day of the week, 'HH' is the hour (00-23), and 'MM' is the minute (00-59)."
          }, 
          "end": {
            "required": true, 
            "type": "string", 
            "description": "Ending time for the corresponding impact, in the format 'WWWW HH:MM', where 'WWWW' is the full English name of the day of the week, 'HH' is the hour (00-23), and 'MM' is the minute (00-59)."
          }
        }
      }, 
      "required": false, 
      "type": "array"
    }, 
    "description": {
      "required": false, 
      "type": "string", 
      "description": "A helpful human-readable description of the impact policy."
    }
  }
}

There is no JSON response body for this method.

********************************************************************************

Method DELETE: Delete a job impact policy.  System policies may not be deleted.

          URL: DELETE /platform/<<version=1>>/job/policies/<NAME>

There are no query arguments for this method.

There is no JSON response body for this method.
